package com.example.emos.api.db.dao;

import com.example.emos.api.db.pojo.TbBusiness;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
@Mapper
public interface TbBusinessDao {
    public ArrayList<HashMap> searchAllBusiness();
    public int insertBusiness(TbBusiness tbBusiness);
    public int insertBusinessMore(ArrayList<TbBusiness> tbBusinessList);
    public ArrayList<HashMap> searchBusinessByPage(HashMap param);
    public long searchBusinessCount(HashMap param);
    public int updateBusinessByGlobalId(TbBusiness business);
}